package com.frank.oj.service.entity.contest;

import com.baomidou.mybatisplus.extension.service.IService;
import com.frank.model.entity.contest.ContestProblem;
import com.frank.oj.model.vo.ContestProblemVO;
import com.frank.oj.model.vo.ProblemFullScreenListVO;

import java.util.Date;
import java.util.List;

/**
 * @author frank
 * @Date 2024/4/7
 */
public interface ContestProblemEntityService extends IService<ContestProblem> {
    void syncContestRecord(Long pid, Long cid, String displayId);

    List<ContestProblemVO> getContestProblemList(Long cid, Date startTime, Date endTime, Date sealTime, boolean isAdmin, String contestAuthorUid, List<String> groupRootUidList, Boolean isContainsContestEndJudge);

    List<ProblemFullScreenListVO> getContestFullScreenProblemList(Long cid);
}
